package com.cyz.common.mapper;

import com.cyz.common.bean.Buttongroup;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 34928
* @description 针对表【buttongroup】的数据库操作Mapper
* @createDate 2023-02-20 10:57:55
* @Entity com.cyz.bean.Buttongroup
*/
public interface ButtongroupMapper extends BaseMapper<Buttongroup> {

    Integer getIdByGroupName(String type);

    List<Buttongroup> queryFreeButtonGroups();

    boolean removeByIds(Integer[] ids);

    boolean addFreeButtonGroup(Buttongroup buttongroup);

    boolean updateFreeButtonGroup(Buttongroup buttongroup);

    String getGroupNameById(Integer type);
}




